﻿Partial Class TestHatchFill
    Inherits Camalon.Drawing.ShapeContainer

    <System.Diagnostics.DebuggerNonUserCode()> _
    Public Sub New(ByVal container As System.ComponentModel.IContainer)
        MyClass.New()

        'Required for Windows.Forms Class Composition Designer support
        If (container IsNot Nothing) Then
            container.Add(Me)
        End If

    End Sub

    <System.Diagnostics.DebuggerNonUserCode()> _
    Public Sub New()
        MyBase.New()

        'This call is required by the Component Designer.
        InitializeComponent()

    End Sub

    'Component overrides dispose to clean up the component list.
    <System.Diagnostics.DebuggerNonUserCode()> _
    Protected Overrides Sub Dispose(ByVal disposing As Boolean)
        Try
            If disposing AndAlso components IsNot Nothing Then
                components.Dispose()
            End If
        Finally
            MyBase.Dispose(disposing)
        End Try
    End Sub

    'Required by the Component Designer
    Private components As System.ComponentModel.IContainer

    'NOTE: The following procedure is required by the Component Designer
    'It can be modified using the Component Designer.
    'Do not modify it using the code editor.
    <System.Diagnostics.DebuggerStepThrough()> _
    Private Sub InitializeComponent()
        Me.hatchFill = New Camalon.Drawing.HatchFill()
        Me.linearGradientFill = New Camalon.Drawing.LinearGradientFill()
        Me.shapePen1 = New Camalon.Drawing.ShapePen()
        Me.rectangle = New Camalon.Drawing.Shapes.RectangleShape()
        CType(Me, System.ComponentModel.ISupportInitialize).BeginInit()
        '
        'hatchFill
        '
        Me.hatchFill.BackColor = New Camalon.Drawing.TransparentColor(System.Drawing.Color.IndianRed)
        Me.hatchFill.Blend = Me.linearGradientFill
        Me.hatchFill.ForegroundBlend = True
        Me.hatchFill.HatchColor = New Camalon.Drawing.TransparentColor(System.Drawing.Color.FromArgb(CType(CType(122, Byte), Integer), CType(CType(150, Byte), Integer), CType(CType(223, Byte), Integer)))
        Me.hatchFill.HatchStyle = System.Drawing.Drawing2D.HatchStyle.DiagonalBrick
        '
        'linearGradientFill
        '
        Me.linearGradientFill.InterpolationColors = New Camalon.Drawing.CompoundColor() {New Camalon.Drawing.CompoundColor(System.Drawing.Color.FromArgb(CType(CType(136, Byte), Integer), CType(CType(122, Byte), Integer), CType(CType(150, Byte), Integer), CType(CType(223, Byte), Integer))), New Camalon.Drawing.CompoundColor(System.Drawing.Color.FromArgb(CType(CType(231, Byte), Integer), CType(CType(255, Byte), Integer), CType(CType(245, Byte), Integer), CType(CType(238, Byte), Integer)), 0.5!), New Camalon.Drawing.CompoundColor(System.Drawing.Color.Transparent, 1.0!)}
        '
        'shapePen1
        '
        Me.shapePen1.Color = New Camalon.Drawing.TransparentColor(System.Drawing.Color.FromArgb(CType(CType(122, Byte), Integer), CType(CType(150, Byte), Integer), CType(CType(223, Byte), Integer)))
        '
        'rectangle
        '
        Me.rectangle.BottomLeft = New Camalon.Drawing.Corner(0.08333345!, 0.1818187!)
        Me.rectangle.BottomRight = New Camalon.Drawing.Corner(0.08333384!, 0.1818187!)
        Me.rectangle.Fill = Me.hatchFill
        Me.rectangle.Pen = Me.shapePen1
        Me.rectangle.Position = New System.Drawing.Point(110, 130)
        Me.rectangle.Size = New System.Drawing.Size(430, 140)
        Me.rectangle.TopLeft = New Camalon.Drawing.Corner(0.08333319!, 0.1818184!)
        Me.rectangle.TopRight = New Camalon.Drawing.Corner(0.09090956!, 0.1818181!)
        '
        'TestHatchFill
        '
        Me.Shapes.AddRange(New Camalon.Drawing.Shape() {Me.rectangle})
        Me.Size = New System.Drawing.Size(670, 510)
        CType(Me, System.ComponentModel.ISupportInitialize).EndInit()

    End Sub
    Private WithEvents hatchFill As Camalon.Drawing.HatchFill
    Private WithEvents linearGradientFill As Camalon.Drawing.LinearGradientFill
    Private WithEvents shapePen1 As Camalon.Drawing.ShapePen
    Private WithEvents rectangle As Camalon.Drawing.Shapes.RectangleShape

End Class
